body{
	color: #333333;
	font-family: 'Dosis'Arial, Helvetica, Verdana, sans-serif;
}

#container{
	display: flex;	
	align-content: flex-start;
	max-width: 1335px;
	width: 100%;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	margin-top: 80px;
	background-color: #ffffff;
	color: #333333;
}

#aside {
	display: flex;
	flex-direction: column;
	max-width: 215px;
	max-height: 595px;
	flex-basis: 20%;
	margin-left: 10px;
	margin-right: 10px;
	color: #333333;
}
.galeria {
	display: flex; 
	height: 550px;
	max-width: 1100px;
}

#logo{
	max-width: 185px;
	height: 185px;
	margin: 0 auto;
	background-color: #ffffff;
	flex-basis: 20%;
}	
#logo img {
	width: 185px;
	height: 185px;
}

#nav {
	max-width: 185px;
	margin: 20px auto;
	flex-basis: 20%;
	max-height: 360px;
	display: flex;
	flex-direction: column;
	color: #333333;
}

.tile2 {
	width: 108px;
	height: 102px;
	text-align: center;
	align-self: center;
}
.tile2:hover{
    opacity : 0.60;
    filter : alpha(opacity=60);
	cursor: pointer;
    }

.tile3{
		width:180px;
		height:45px;
		text-decoration: none;
		background-color: #eeeeee;
		margin-left: 2px;
		margin-top: 11px;
		margin-bottom: 12px;
		text-align: center;
		font:500 20px/45px 'Dosis', sans-serif;
		color: #333333;
		background-image:
		-webkit-linear-gradient(left, #eeeeee, #ffffff);	
	}
	
.tile3:hover
	{
	  color: #eeeeee;
	  cursor: pointer;
	  background: radial-gradient(#111, #888);
	} 
	
.tile3 a
	{
		color: #333333;
		text-decoration: none;
		display: block;
	}
.tile3 a:hover
	{
		color: #eeeeee;
	}
	
.rotateLeft1 {
		transform: rotateZ(-1deg);
	}
.rotateLeft2 {
		transform: rotateZ(-2deg);
	}
.rotateRight1 {
		transform: rotateZ(1deg);
	}
.rotateRight2 {
		transform: rotateZ(2deg);
	}


.wielorodzinne, .jednorodzinne, .koncepcje {
	max-width: 295px;
	height: 550px;
}
.prywatne {
	max-width: 680px;
	height: 550px;
}
.uslugi {
	max-width: 180px;
	height: 550px;
	text-align: center;
}

.description {
	text-align: center;
}
.wielorodzinne span, .jednorodzinne span, .uslugi span, .koncepcje span, .prywatne span  {
	font:500 28px/40px 'Dosis', sans-serif;
	/* letter-spacing: -1px; */

}
.tiles-wielorodzinne, .tiles-jednorodzinne, .tiles-koncepcje, .tiles-prywatne {
	height: 500px;
	margin-left: 10%;
	margin-right: 10%;
	justify-content: space-between;
	align-items: stretch;
	display: flex;
	flex-wrap: wrap;
}
.tiles-prywatne {
	margin-left: 8%;
	margin-right: 8%;
}
.tiles-uslugowe, .tiles-komercyjne, .tiles-detal {
	height: 500px;
	margin-left: 32px;
	margin-right: 32px;
	padding-top: 12px;
	flex-direction: column;
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
}
.tiles-uslugowe .tile2 {
	margin-bottom: 22px;
}


@media (max-width: 1300px) {
	.description {
		margin: 15px auto;
	}
	.galeria{
		flex-direction: column;
		/* flex-wrap: wrap; */
		width: 1000px;
		height: auto;
	}
	.tile2 {
		width: 100px;
		height: 94px;
		padding: 10px 10px;
	}
	.wielorodzinne, .jednorodzinne, .uslugi, .koncepcje, .prywatne, .komercyjne, .detal  {
		max-width: 1000px;
		height: auto;
		flex-shrink: 1;
		align-items: stretch;
	}
	
	.tiles-wielorodzinne, .tiles-jednorodzinne, .tiles-uslugowe, .tiles-koncepcje, .tiles-prywatne {
		height: auto;
		max-width: 1000px;
		justify-content: center;
		margin-left: 2%;
		margin-right: 2%;
	}
	.tiles-uslugowe {
		flex-direction: row;
		justify-content: center;
		display: flex;
	}
}
@media (max-width: 767px) {
	#aside {
		flex-direction: row;
		flex-basis: 100%;
		max-width: 100%;
		height: 195px;
	}
	#logo {
		margin-top: 5px;
		margin-bottom: 5px;
	}
	
	#nav{
		max-width: 860px;
		height: 185px;
		background-color: #ffffff;
		box-sizing: border-box;
		flex-basis: calc(100% - 210px);
		flex-direction: row;
		flex-wrap: wrap;
		margin: 5px auto;
		align-items: center;
	}
	
	.tile3 {
		width:120px;
		height:82px;
		border-radius:10px;
		margin: 6px;
		transform: rotateZ(0deg);
	}
	.tile3 a {
		line-height: 82px;
	}
	#contain {
		flex-basis: 100%;
		height: 200px;
		margin-top: 150px;
		font-size: 23px;
	}
	#text-container {
		flex-basis: 96%;
		margin: 0 auto;
		order: 2;
	}
	
	#container{
		margin-top: 20px;
		flex-direction: row;
		flex-wrap: wrap;
	}
}
@media (max-width: 575px) {
	.tile3 {
		width:42%;
		height:85px;
		margin-top: 5px;
		margin-bottom: 5px;
	}
	.tile3 a {
		font-size: 18px;
	}
	#contain {
		font-size: 21px;
	}
	/* #aside {
		height: 285px;
	} */
	#container {
		min-width: 475px;
	}
	#nav {
		min-width: 270px;
	}
}